﻿import mx.effects.Tween;
import mx.utils.Delegate;
/**
 * ...
 * @author	Kliment
 * @version	1.0.0
 */
class kliment.transitions.TweenProperties extends Tween {
	public var onTweenUpdate:Function;
	
	public function TweenProperties(listenerObj:MovieClip, func:Function, init, end, dur:Number) 	{
		super(listenerObj, init, end, dur);
		easingEquation = func;
		
		var this_c:TweenProperties = this;
		listenerObj.onTweenUpdate = function(pros):Void {
			this_c.onTweenUpdate(pros);
		}
	}
	
}